﻿/*****************************************************************************

   Project:   WP7AppLifecycleService
   File:      IPhoneLockedHandler.cs 
   Creator:   David Carballo (dacarb@gmail.com)
   
   Description:
      Definition of IPhoneLockedHandler interface.

   (C) Copyright 2011, David Carballo
       http://wp7applifecycle.codeplex.com/license

******************************************************************************/

namespace WP7AppLifecycleService
{
    /// <summary>
    /// Interface that needs to be implemented by classes that need to perform
    /// some task/activity when the phone is locked and/or unlocked.
    /// </summary>
    public interface IPhoneLockedHandler
    {
        /// <summary>
        /// The phone has been locked
        /// </summary>
        void Locked();

        /// <summary>
        /// The phone has been unlocked
        /// </summary>
        void Unlocked();
    }
}
